package com.ai.deepseek.forest;


import com.ai.deepseek.entity.MessageReq;
import com.dtflys.forest.annotation.JSONBody;
import com.dtflys.forest.annotation.Post;

public interface MyHttpClient {

    @Post(
            url = "https://dashscope.aliyuncs.com/compatible-mode/v1/chat/completions",
            headers = {
                    "Content-Type: application/json",
                    "Authorization: Bearer sk-c3eae0a76dc54e1b911bae18f3eab9c4"
            }
    )
    String chat(@JSONBody MessageReq messageReq);


}
